package com.fawvwebanma.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Train implements Serializable {
    @TableId(type = IdType.AUTO)
    @TableField(select = false)
    private Long id;
    private String trainNum;
    private String trainType;
    private List<TrainPassStation> trainPassStations;
}
